package org.biubiu0002.baiblog.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.biubiu0002.baiblog.common.utils.PageUtils;
import org.biubiu0002.baiblog.core.model.entity.SysPermissionEntity;
import org.biubiu0002.baiblog.core.model.vo.PermissionVo;

import java.util.Map;

/**
 * 权限表
 *
 * @author biubiu0002
 * @email 1007918011@qq.com
 * @date 2022-05-06 00:50:38
 */
public interface SysPermissionService extends IService<SysPermissionEntity> {

    /**
     * 保存资源
     * @param permissionSaveReqVo
     */
    void save(PermissionVo permissionSaveReqVo);

    /**
     * 分页查询
     * @param params
     * @return
     */
    PageUtils queryPage(Map<String, Object> params);

    /**
     * 更新资源
     * @param permissionSaveReqVo
     */
    void update(PermissionVo permissionSaveReqVo);
}

